package com.zyq.enuns;

/** 状态(1:正常0:弃用)
 * author xiaochi
 * date 2024/5/20 17:38
 */
public enum DisabledEnum implements BaseCodeEnum {

    UNDELETED(1,"正常"),
    DELETED(0,"弃用");

    private int code;
    private String message;

    DisabledEnum(int code, String message){
        this.code = code;
        this.message = message;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
